/* 添加全局样式控制 */
:root {
    --primary-color: #1c9994;
    --primary-light: #24c5be;
    --primary-dark: #0a4b49;
    --text-primary: #333;
    --text-secondary: #666;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
} 




/* 定义全局变量 */
:root {
    /* 主色调 */
    --primary-color: #1c9994;      /* 主要青绿色 */
    --primary-dark: #157b77;       /* 深青绿色，用于悬停 */
    --primary-light: #e6f3f2;      /* 浅青绿色，用于背景 */
    
    /* 辅助色调 */
    --accent-blue: #3498db;        /* 点缀蓝色 */
    --accent-orange: #e67e22;      /* 点缀橙色，用于重要提示 */
    
    /* 中性色调 */
    --text-primary: #2c3e50;       /* 主要文字颜色 */
    --text-secondary: #34495e;     /* 次要文字颜色 */
    --border-color: #edf2f7;       /* 边框颜色 */
}

/* ===== 网站顶部 ===== */
/* 头部样式 */
.header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(28, 153, 148, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

/* Logo区域样式 */
.logo-area {
    display: flex;
    align-items: center;
}

.logo {
    width: 250px;
    height: auto;
    margin-right: 15px;
}

.hospital-name {
    display: none;
}

/* 导航菜单样式 */
.main-nav {
    flex: 1;
    margin: 0 30px;
    white-space: nowrap;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-between;
}

.main-nav li {
    margin: 0;
    position: relative;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 16px;
    padding: 5px 0;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* 悬停效果 */
.main-nav a:hover {
    color: var(--primary-color);
}

/* 当前激活项样式 */
.main-nav li.active a {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}



/* 添加悬停时的背景效果 */
.main-nav li:hover::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-light);
    transition: all 0.3s ease;
}

/* 特殊导航项样式（可以用于突出显示某些重要链接） */
.main-nav li.highlight a {
    color: var(--accent-orange);
}

/* 添加一些微妙的动画效果 */
.main-nav a {
    position: relative;
    overflow: hidden;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover::after {
    width: 100%;
}






/* 交通指南页面样式 */
.alignments-main {
    min-height: calc(100vh - 200px);
    background-color: #f8f9fa;
}

/* 页面标题区域 */
.alignments-banner {
    position: relative;
    background: linear-gradient(135deg, #1c9994 0%, #2c3e50 100%);
    padding: 80px 0;
    margin-bottom: 40px;
    overflow: hidden;
}

.alignments-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.1)" d="M0,0 L100,0 L100,100 L0,100 Z"/></svg>');
    opacity: 0.1;
}

.alignments-banner-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.banner-title {
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.title-main {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.title-sub {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

.breadcrumb-separator {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* 通用section样式 */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1c9994;
}

.section-header i {
    font-size: 24px;
    color: #1c9994;
    margin-right: 10px;
}

.section-header h2 {
    color: #333;
    font-size: 24px;
    margin: 0;
}

/* 医院地址 */
.address-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(28, 153, 148, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.address-content p {
    font-size: 18px;
    color: #444;
    margin-bottom: 20px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 公交路线 */
.bus-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(28, 153, 148, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.bus-stops h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
}

.bus-lines {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bus-line {
    display: inline-block;
    padding: 5px 15px;
    background: #f0f9f8;
    color: #1c9994;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.bus-line:hover {
    background: #1c9994;
    color: #fff;
}

/* 自驾路线 */
.drive-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(28, 153, 148, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.drive-route {
    margin-bottom: 20px;
}

.drive-route:last-child {
    margin-bottom: 0;
}

.drive-route h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.drive-route p {
    color: #666;
    line-height: 1.6;
}

/* 停车场信息 */
.parking-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(28, 153, 148, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.parking-info p {
    color: #666;
    margin-bottom: 15px;
}

.parking-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.parking-info li {
    color: #666;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.parking-info li:before {
    content: "•";
    color: #1c9994;
    position: absolute;
    left: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .alignments-banner {
        padding: 60px 0;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1rem;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .bus-lines {
        gap: 8px;
    }
    
    .bus-line {
        padding: 4px 12px;
        font-size: 13px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alignments-banner-content {
    animation: fadeInUp 0.8s ease-out;
} 




/* 文章详情页面样式 */
.article-main {
    min-height: calc(100vh - 200px);
    background-color: #f8f9fa;
}

/* 页面标题区域 */
.article-banner {
    position: relative;
    background: linear-gradient(135deg, #1c9994 0%, #2c3e50 100%);
    padding: 80px 0;
    margin-bottom: 40px;
    overflow: hidden;
}

.article-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.1)" d="M0,0 L100,0 L100,100 L0,100 Z"/></svg>');
    opacity: 0.1;
}

.article-banner-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.banner-title {
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.title-main {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.title-sub {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

.breadcrumb-separator {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-banner-content {
    animation: fadeInUp 0.8s ease-out;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-banner {
        padding: 60px 0;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1rem;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 文章内容区域 */
.article-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(28, 153, 148, 0.1);
    padding: 30px;
    margin-bottom: 40px;
}

/* 文章头部 */
.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-header h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    color: #666;
    font-size: 14px;
}

.article-meta span {
    margin-right: 20px;
}

.article-meta i {
    margin-right: 5px;
    color: #1c9994;
}

/* 文章主体 */
.article-body {
    margin-bottom: 40px;
}

.article-cover {
    margin-bottom: 30px;
}

.article-cover img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.article-text {
    line-height: 1.8;
    color: #444;
}

.article-text h3 {
    color: #1c9994;
    font-size: 22px;
    margin: 25px 0 15px;
}

.article-text p {
    margin-bottom: 15px;
}

.article-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-text li {
    margin-bottom: 10px;
    color: #555;
}

/* 文章底部 */
.article-footer {
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-label {
    color: #666;
    font-size: 14px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f9f8;
    color: #1c9994;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #1c9994;
    color: #fff;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    color: #666;
    font-size: 14px;
}

.share-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f9f8;
    color: #1c9994;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #1c9994;
    color: #fff;
    transform: translateY(-2px);
}

/* 相关文章 */
.related-articles {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-articles h3 {
    color: #1c9994;
    font-size: 24px;
    margin-bottom: 25px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(28, 153, 148, 0.1);
    transition: transform 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-item h4 {
    padding: 15px;
    margin: 0;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

.related-item .date {
    display: block;
    padding: 0 15px 15px;
    color: #666;
    font-size: 14px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .article-banner {
        padding: 40px 0;
    }
    
    .article-banner h1 {
        font-size: 28px;
    }
    
    .article-header h2 {
        font-size: 24px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
} 



/* ===== banner ===== */
.banner {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.banner-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-wrapper {
    width: 300%;
    height: 100%;
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide {
    width: 33.333%;
    height: 100%;
    flex-shrink: 0;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播指示器样式 */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block; /* 确保链接正确显示 */
    text-decoration: none;
}

.indicator.active {
    background: var(--primary-color);
    width: 40px;
}

/* 轮播按钮样式 */
.banner-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    text-decoration: none; /* 移除链接下划线 */
}

.banner:hover .banner-btn {
    opacity: 1;
}

.banner-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.banner-btn.prev {
    left: 20px;
}

.banner-btn.next {
    right: 20px;
}




/* 主要内容区域 */
.department-main {
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* Banner样式 */
.department-banner {
    position: relative;
    background: linear-gradient(135deg, #1c9994 0%, #2c3e50 100%);
    padding: 80px 0;
    margin-bottom: 40px;
    overflow: hidden;
}

.department-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.1)" d="M0,0 L100,0 L100,100 L0,100 Z"/></svg>');
    opacity: 0.1;
}

.department-banner-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.banner-title {
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.title-main {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.title-sub {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

.breadcrumb-separator {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* 科室内容区域 */
.department-tabs {
    padding: 40px 0;
    background: #fff;
}

.section-container {
    width: 1200px;
    margin: 0 auto;
}

/* 科室导航样式 */
.department-nav {
    display: flex;
    gap: 2px;
    margin-bottom: 30px;
    background: #f5f5f5;
    padding: 2px;
    border-radius: 4px;
    width: 1200px;
    margin: 0 auto;
}

.nav-item {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.nav-item:first-child {
    border-radius: 4px 0 0 4px;
}

.nav-item:last-child {
    border-radius: 0 4px 4px 0;
}

.nav-item.active {
    background: var(--primary-color);
    color: #fff;
}

.nav-item:hover:not(.active) {
    background: #e0e0e0;
}

/* 科室列表样式 */
.department-list {
    display: none;  /* 默认隐藏所有列表 */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 显示激活的列表 */
.department-list.active {
    display: grid;
    animation: fadeIn 0.3s ease;
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 科室项目样式 */
.department-item {
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.department-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.department-item h3 {
    color: #333;
    font-size: 18px;
    margin: 0 0 10px;
    font-weight: 500;
}

.department-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 二维码样式 */
.qr-code {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231c9994"><path d="M3 3h6v6H3zM15 3h6v6h-6zM3 15h6v6H3z"/><path d="M4 4h4v4H4zM16 4h4v4h-4zM4 16h4v4H4z"/><path d="M15 15h2v2h-2zM18 15h3v3h-3zM15 19h2v2h-2zM18 19h3v2h-3z"/></svg>') center/contain no-repeat;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .department-banner {
        padding: 60px 0;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1rem;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-container {
        width: 100%;
        padding: 0 20px;
    }

    .department-nav {
        width: 100%;
        flex-wrap: wrap;
    }

    .nav-item {
        flex: 1 1 calc(50% - 2px);
        padding: 8px 0;
        font-size: 14px;
    }

    .department-content {
        grid-template-columns: 1fr;
    }

    .department-item {
        padding: 15px;
    }
} 




/* ===== 医院科室banner ===== */
.department-banner {
    width: 100%;
    background: #f5f5f5;
    overflow: hidden;
    padding: 30px 0;
}

/* banner容器 */
.department-banner-container {
    width: 1200px;
    height: 350px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* banner图片 */
.department-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 图片悬停效果 */
.department-banner-container:hover .department-banner-img {
    transform: scale(1.02);
}

/* ===== 科室tab ===== */
.department-tabs {
    padding: 40px 0;
    background: #fff;
}

.section-container {
    width: 1200px;
    margin: 0 auto;
}

/* 科室导航样式 */
.department-nav {
    display: flex;
    gap: 2px;
    margin-bottom: 30px;
    background: #f5f5f5;
    padding: 2px;
    border-radius: 4px;
    width: 1200px;
    margin: 0 auto;
}

.nav-item {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.nav-item:first-child {
    border-radius: 4px 0 0 4px;
}

.nav-item:last-child {
    border-radius: 0 4px 4px 0;
}

.nav-item.active {
    background: var(--primary-color);
    color: #fff;
}

.nav-item:hover:not(.active) {
    background: #e0e0e0;
}

/* 科室列表样式 */
.department-list {
    display: none;  /* 默认隐藏所有列表 */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 显示激活的列表 */
.department-list.active {
    display: grid;
    animation: fadeIn 0.3s ease;
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 科室项目样式 */
.department-item {
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.department-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.department-item h3 {
    color: #333;
    font-size: 18px;
    margin: 0 0 10px;
    font-weight: 500;
}

.department-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 二维码样式 */
.qr-code {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231c9994"><path d="M3 3h6v6H3zM15 3h6v6h-6zM3 15h6v6H3z"/><path d="M4 4h4v4H4zM16 4h4v4h-4zM4 16h4v4H4z"/><path d="M15 15h2v2h-2zM18 15h3v3h-3zM15 19h2v2h-2zM18 19h3v2h-3z"/></svg>') center/contain no-repeat;
}

/* ===== 首页科室导航 ===== */
.index-department-nav {
    width: 100%;
    background: 
        linear-gradient(135deg, rgba(28, 153, 148, 0.97) 0%, rgba(25, 130, 126, 0.97) 100%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
    padding: 40px 0;
}

.index-department-nav-container {
    width: 1200px;
    margin: 0 auto;
}

.index-department-nav-header {
    text-align: center;
    margin-bottom: 30px;
}

.index-department-nav-header h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 10px;
}

.index-department-nav-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

/* 导航标签 */
.index-department-nav-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

.index-department-nav-tabs .nav-item {
    padding: 8px 24px;
    border-radius: 20px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.index-department-nav-tabs .nav-item.active {
    background: #fff;
    color: var(--primary-color);
}

.index-department-nav-tabs .nav-item:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
}

/* 科室列表 */
.index-department-content {
    position: relative;
}

.index-department-list {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.index-department-list.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

.index-department-item {
    padding: 15px;
    background: #fff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.index-department-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 动画效果 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 延迟动画 */
.index-department-item {
    animation-delay: calc(var(--i) * 0.1s);
}

/* 标签切换动画 */
.index-department-nav-tabs .nav-item {
    position: relative;
    overflow: hidden;
}

.index-department-nav-tabs .nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.index-department-nav-tabs .nav-item:hover::after {
    width: 80%;
} 




/* ===== 标题栏样式 ===== */
.doctor-banner {
    position: relative;
    background: linear-gradient(135deg, #1c9994 0%, #2c3e50 100%);
    padding: 80px 0;
    margin-bottom: 40px;
    overflow: hidden;
}

.doctor-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.1)" d="M0,0 L100,0 L100,100 L0,100 Z"/></svg>');
    opacity: 0.1;
}

.doctor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.doctor-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.banner-title {
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.title-main {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.title-sub {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

.breadcrumb-separator {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
    .doctor-banner {
        padding: 60px 0;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1rem;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
}

/* ===== 专家详情页面 ===== */
.doctor-detail {
    padding: 0 0 40px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.doctor-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231c9994' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.doctor-detail-container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 专家信息卡片 */
.doctor-info-card {
    display: flex;
    gap: 50px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(28, 153, 148, 0.08);
    backdrop-filter: blur(20px);
}

.doctor-avatar {
    width: 360px;
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
}

.doctor-avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-basic-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.doctor-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 5px;
}

.doctor-name {
    font-size: 36px;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.doctor-title {
    font-size: 20px;
    color: var(--primary-color);
    padding: 6px 20px;
    background: linear-gradient(120deg, rgba(28, 153, 148, 0.15), rgba(28, 153, 148, 0.08));
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.doctor-department {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    padding: 6px 20px;
    background: linear-gradient(120deg, rgba(28, 153, 148, 0.12), rgba(28, 153, 148, 0.05));
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 0 1px rgba(28, 153, 148, 0.2);
    display: inline-block;
}

.doctor-department:hover {
    background: rgba(28, 153, 148, 0.15);
}

/* 联系方式 */
.doctor-contact {
    margin-top: 10px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(28, 153, 148, 0.1);
}

.doctor-contact h3 {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 0 15px;
    font-weight: normal;
}

.contact-phone {
    font-size: 17px;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-phone strong {
    color: var(--primary-color);
    font-size: 20px;
}

/* 快捷操作按钮 */
.doctor-actions {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.action-primary {
    background: linear-gradient(120deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(28, 153, 148, 0.3);
}

.action-primary:hover {
    background: linear-gradient(120deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 153, 148, 0.4);
}

.action-tertiary {
    background: #f8f9fa;
    color: var(--text-primary);
}

/* 专家介绍 */
.doctor-intro {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(28, 153, 148, 0.08);
}

.section-title {
    font-size: 28px;
    color: var(--text-primary);
    margin: 0 0 30px;
    padding-left: 20px;
    position: relative;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 28px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(28, 153, 148, 0.3));
    border-radius: 4px;
}

.intro-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
}

.intro-content p {
    margin: 0 0 20px;
}

.intro-content h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin: 40px 0 20px;
}

.position-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.position-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 16px;
    transition: all 0.3s ease;
}

.position-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: linear-gradient(120deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.position-list li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.position-list li:hover::before {
    transform: scale(1.5);
} 





/* ===== 专家指南区域 ===== */
.expert-guide {
    padding: 20px 0;
    background: #fff;
}

.expert-guide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* 左侧专家区域 */
.expert-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.expert-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.expert-title {
    display: flex;
    align-items: center;
}

.expert-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    margin-right: 10px;
    border-radius: 2px;
}

.expert-title h2 {
    font-size: 24px;
    margin: 0;
    font-weight: 500;
}

/* 专家轮播容器 */
.expert-slider {
    position: relative;
    flex: 1;
    overflow: hidden;
    height: 300px;
}

/* 专家卡片基础样式 */
.expert-card {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* 活动卡片样式 */
.expert-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* 专家卡片 */
.expert-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    height: 100%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.expert-card:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.expert-avatar {
    width: 230px;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.expert-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.expert-name {
    font-size: 25px;
    color: var(--text-primary);
    margin: 0 0 8px;
    font-weight: 500;
}

.expert-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.expert-meta p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 19px;
}

.expert-desc {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
    max-height: 120px;
}

/* 修改查看详情按钮样式 */
.view-detail {
    display: inline-block;
    padding: 6px 0;
    width: 100px;
    text-align: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 15px;
    font-size: 17px;
    margin-top: 15px;
    font-weight: 500;
}




.guide-header {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.guide-header::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    margin-right: 10px;
    border-radius: 2px;
}

.guide-header h2 {
    font-size: 24px;
    margin: 0;
    font-weight: 500;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 0;
}

.guide-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 27px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.guide-item:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.guide-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.guide-icon i {
    font-size: 24px;
}

.guide-text {
    font-size: 15px;
    color: var(--text-primary);
    text-align: center;
    font-weight: 500;
}






/* ===== 页脚 ===== */
.footer {
    background: linear-gradient(135deg, #1c9994 0%, #0a4b49 100%);
    color: #fff;
    padding: 30px 0 15px;
    position: relative;
    z-index: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 主要内容区 */
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

/* 医院信息 */
.footer-info {
    padding-right: 20px;
}

.footer-logo {
    height: 45px;
    margin-bottom: 15px;
}

.contact-info p {
    margin: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info i {
    width: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 3px;
}

/* 公交路线信息样式 */
.contact-info p:last-child {
    line-height: 1.5;
}

/* 快速链接 */
.footer-links h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    position: relative;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 34px;
}

.links-grid a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.links-grid a:hover {
    color: #fff;
    transform: translateX(5px);
}

.links-grid a i {
    font-size: 15px;
    color: var(--primary-light);
    width: 16px;
    text-align: center;
}

.links-grid a:hover i {
    color: #fff;
}

/* 关注我们 */
.footer-follow h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    position: relative;
}

.footer-follow h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
}

.qrcode-container {
    display: flex;
    justify-content: center;
}

.qrcode-item {
    text-align: center;
    width: 100px;
}

.qrcode-item img {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 5px;
}

.qrcode-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* 版权信息 */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.copyright {
    text-align: center;
}

.copyright p {
    margin: 5px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}






/* ===== 医院动态 ===== */
.news {
    padding: 30px 0;
    background: #fff;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 标题导航样式 */
.news-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.news-nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.section-title {
    display: flex;
    align-items: center;
    margin: 0;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    margin-right: 10px;
    border-radius: 2px;
}

.section-title h2 {
    font-size: 24px;
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
}

/* 标签页导航样式优化 */
.news-tabs {
    display: flex;
    gap: 30px;
    position: relative;
}

/* 标签样式优化 */
.tab-item {
    font-size: 17px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 5px 0;
    position: relative;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* 悬停效果 */
.tab-item:hover {
    color: var(--primary-color);
}

/* 活动标签下划线效果 */
.tab-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    opacity: 0;
    border-radius: 3px;
}

.tab-item:hover::after {
    width: 20px;
    opacity: 0.5;
}

.tab-item.active::after {
    width: 100%;
    opacity: 1;
}

/* 添加滑动背景效果 */
.tab-item {
    padding: 5px 15px;
    border-radius: 15px;
    background: linear-gradient(to right, var(--primary-light) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.3s ease;
}

.tab-item:hover,
.tab-item.active {
    background-position: left bottom;
}

/* 标签切换动画优化 */
.tab-content {
    display: block;
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-content.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 移动端适配优化 */
@media screen and (max-width: 768px) {
    .news-tabs {
        gap: 15px;
    }

    .tab-item {
        font-size: 14px;
        padding: 4px 12px;
    }
}

.view-more {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.view-more:hover {
    color: var(--primary-color);
    background: var(--primary-light);
}

/* 新闻内容区样式 */
.news-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* 左侧大图新闻 */
.news-featured {
    display: flex;
    flex-direction: column;
    
}

/* 大图新闻卡片 */
.news-card.large .news-image {
    height: 200px;
}

/* 小图新闻行 */
.small-news-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

/* 小图新闻卡片 */
.news-card.small .news-image {
    height: 140px;
}

.news-card.small .news-info {
    padding: 12px;
}

.news-card.small .news-info h3 {
    font-size: 14px;
}

.news-card {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-info {
    padding: 15px;
    background: #fff;
}

.news-info h3 {
    color: var(--text-primary);
    font-size: 16px;
    margin: 0;
    line-height: 1.4;
}

/* 右侧新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    position: relative;
}

.news-item {
    display: block;
    text-decoration: none;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0;
    background: transparent;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: calc(var(--i) * 0.1s);
}

.news-item:hover {
    background: var(--primary-light);
    transform: translateX(5px);
}

.news-text h4 {
    color: var(--text-primary);
    font-size: 15px;
    margin: 0 0 8px;
    line-height: 1.5;
}

.news-text p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tab-content.active .news-item {
    opacity: 1;
    transform: translateY(0);
}

/* 最后一项移除底部边框 */
.news-item:last-child {
    border-bottom: none;
}






/* ===== 医院动态页面 ===== */
.news-page {
    padding: 40px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 400px);
}

.news-page-container {
    width: 1200px;
    margin: 0 auto;
}

/* 页面头部 */
.news-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(28, 153, 148, 0.1);
    position: relative;
}

.news-page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), rgba(28, 153, 148, 0.3));
    border-radius: 3px;
}

.news-page-header h2 {
    font-size: 28px;
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
    position: relative;
    padding-left: 15px;
}

.news-page-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

.news-page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.news-page-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-page-breadcrumb a:hover {
    color: var(--primary-color);
}

.news-page-breadcrumb i {
    font-size: 12px;
    color: #999;
}

/* 新闻列表 */
.news-page-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-page-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.news-page-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.news-page-item:hover::after {
    height: 100%;
}

/* 新闻缩略图 */
.news-page-thumb {
    width: 180px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-page-item:hover .news-page-thumb img {
    transform: scale(1.05);
}

.news-page-content {
    flex: 1;
}

.news-page-content h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin: 0 0 10px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-page-item:hover .news-page-content h3 {
    color: var(--primary-color);
}

.news-page-content p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-page-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 120px;
    margin-left: auto;
}

.news-page-source {
    font-size: 14px;
    color: var(--primary-color);
    padding: 4px 12px;
    background: rgba(28, 153, 148, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.news-page-item:hover .news-page-source {
    background: var(--primary-color);
    color: #fff;
}

.news-page-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #999;
    font-size: 14px;
}

/* 分页样式 */
.news-page-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 4px;
    background: #fff;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.pagination-item.prev,
.pagination-item.next {
    gap: 6px;
    padding: 0 15px;
}

.pagination-item:hover:not(.active) {
    background: var(--primary-light);
    color: #fff;
    border-color: var(--primary-light);
}

.pagination-item.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    cursor: default;
}

.pagination-dots {
    color: var(--text-secondary);
    padding: 0 4px;
}

/* 添加分页项的动画效果 */
.pagination-item {
    position: relative;
    overflow: hidden;
}

.pagination-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.pagination-item:hover::before {
    width: 100px;
    height: 100px;
}

/* 上一页下一页禁用状态 */
.pagination-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 标题栏样式 */
.department-banner {
    position: relative;
    background: linear-gradient(135deg, #1c9994 0%, #2c3e50 100%);
    padding: 80px 0;
    margin-bottom: 40px;
    overflow: hidden;
}

.department-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.1)" d="M0,0 L100,0 L100,100 L0,100 Z"/></svg>');
    opacity: 0.1;
}

.department-banner-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.banner-title {
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.title-main {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.title-sub {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
    color: #fff;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

.breadcrumb-separator {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .department-banner {
        padding: 60px 0;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1rem;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 标题样式 */
.section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title {
    color: #1c9994;
    font-size: 36px;
    text-align: center;
    margin: 0 20px;
    position: relative;
    padding: 0 20px;
}

.title-text {
    display: block;
    font-weight: bold;
    letter-spacing: 2px;
}

.title-decoration {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1c9994, transparent);
    position: relative;
}

.title-decoration::before,
.title-decoration::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #1c9994;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.title-decoration.left::before {
    left: 0;
}

.title-decoration.right::after {
    right: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    
    .title-decoration {
        width: 50px;
    }
} 




/* ===== 来院路线 ===== */
.route {
    background: #fff;
    overflow-x: hidden;  /* 防止横向滚动 */
    margin-bottom: 0;  /* 移除底部间距 */
}

.route-container {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* 地图容器样式 */
.map-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;  /* 添加相对定位 */
    z-index: 1;  /* 添加层级 */
}






/* ===== 科室详情页面 ===== */
.section-details {
    background: #f8f9fa;
    min-height: calc(100vh - 400px);
}

/* 科室内容区域 */
.section-container {
    width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 科室介绍 */
.section-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.section-image {
    flex: 0 0 400px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.section-image:hover img {
    transform: scale(1.05);
}

.section-text {
    flex: 1;
    min-width: 300px;
}

.section-text h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.intro-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.intro-content p {
    margin-bottom: 15px;
}

/* 专家团队 */
.section-subtitle {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-left: 15px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

.experts-carousel {
    position: relative;
    margin-bottom: 50px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.experts-slide {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.expert-card {
    flex: 0 0 calc(33.333% - 14px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.expert-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.expert-card h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin: 15px 15px 5px;
}

.expert-title {
    color: var(--primary-color);
    font-size: 14px;
    margin: 0 15px 10px;
}

.expert-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 15px 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary-color-dark);
}

.carousel-controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

/* 科室资讯 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
}

.news-date {
    flex: 0 0 100px;
    color: #999;
    font-size: 14px;
    padding-top: 3px;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 16px;
    color: var(--text-primary);
    margin: 0 0 8px;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: var(--primary-color);
}

.news-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    flex: 0 0 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.news-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.news-link:hover {
    color: var(--primary-color-dark);
}

.news-link:hover i {
    transform: translateX(3px);
}

.news-more {
    text-align: center;
    margin: 30px 0;
}

.more-btn {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    padding: 10px 25px;
    border: 1px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.more-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.more-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.more-btn:hover i {
    transform: translateX(3px);
}

/* 就诊指南 */
.guide-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.guide-item {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.guide-item:hover {
    transform: translateY(-5px);
}

.guide-icon {
    width: 60px;
    height: 60px;
    background: rgba(28, 153, 148, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
}

.guide-info h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.guide-info p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .section-container {
        width: 100%;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .section-content {
        flex-direction: column;
    }
    
    .section-image {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .expert-card {
        flex: 0 0 100%;
    }
    
    .guide-item {
        flex: 0 0 100%;
    }
} 




/* ===== 医师团队页面 ===== */
.specialists-page {
    padding-bottom: 40px;
    background: #f8f9fa;
}

/* 主要内容区域 */
.specialists-main {
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* Banner样式 */
.specialists-banner {
    position: relative;
    background: linear-gradient(135deg, #1c9994 0%, #2c3e50 100%);
    padding: 80px 0;
    margin-bottom: 40px;
    overflow: hidden;
}

.specialists-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.1)" d="M0,0 L100,0 L100,100 L0,100 Z"/></svg>');
    opacity: 0.1;
}

.specialists-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.specialists-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.banner-title {
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.title-main {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.title-sub {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

.breadcrumb-separator {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .specialists-banner {
        padding: 60px 0;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1rem;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
    
    .specialists-container {
        width: 100%;
        padding: 0 15px;
    }
}












/* 医院简介页面样式 */
.synopsis-main {
    min-height: calc(100vh - 200px);
    background-color: #f8f9fa;
}

/* 页面标题区域 */
.synopsis-banner {
    position: relative;
    background: linear-gradient(135deg, #1c9994 0%, #2c3e50 100%);
    padding: 80px 0;
    margin-bottom: 40px;
    overflow: hidden;
}

.synopsis-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.1)" d="M0,0 L100,0 L100,100 L0,100 Z"/></svg>');
    opacity: 0.1;
}

.synopsis-banner-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.banner-title {
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.title-main {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.title-sub {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

.breadcrumb-separator {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.synopsis-banner-content {
    animation: fadeInUp 0.8s ease-out;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .synopsis-banner {
        padding: 60px 0;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1rem;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.synopsis-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.synopsis-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 医院简介内容 */
.synopsis-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(28, 153, 148, 0.1);
    padding: 30px;
    margin-bottom: 40px;
}

.hospital-image {
    margin-bottom: 30px;
}

.hospital-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.hospital-intro h2 {
    color: #1c9994;
    font-size: 28px;
    margin-bottom: 15px;
}

.subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 25px;
}

.intro-text {
    line-height: 1.8;
    color: #444;
}

.intro-text p {
    margin-bottom: 15px;
}

/* 医院特色 */
.hospital-features {
    margin-top: 40px;
}

.hospital-features h3 {
    color: #1c9994;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e8f0fe;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(28, 153, 148, 0.1);
    border-color: #1c9994;
}

.feature-item i {
    font-size: 40px;
    color: #1c9994;
    margin-bottom: 15px;
}

.feature-item h4 {
    color: #1c9994;
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    font-size: 14px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .synopsis-banner {
        padding: 40px 0;
    }
    
    .synopsis-banner h1 {
        font-size: 28px;
    }
    
    .hospital-intro h2 {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 16px;
    }
}

/* 医院发展大事记 - 新版时间轴 */
.timeline-section {
    padding: 60px 0;
    margin-bottom: 50px;
    background-color: #fff;
    position: relative;
}

.timeline-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #1c9994, #2c3e50);
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
    padding: 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #1c9994, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::before {
    content: '';
    position: absolute;
    
    height: 4px;
    background: linear-gradient(90deg, #1c9994, #2c3e50);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(28, 153, 148, 0.3);
}



@keyframes rotate {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}

.section-title span {
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #1c9994, #2c3e50);
    left: 50%;
    margin-left: -3px;
    top: 0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 为最后一个时间线项目添加结束装饰 */
.timeline::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #2c3e50;
    border-radius: 50%;
    left: 50%;
    margin-left: -10px;
    bottom: 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(44, 62, 80, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(44, 62, 80, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(44, 62, 80, 0);
    }
}

.timeline-item {
    padding: 0 50px 50px 50px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    opacity: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-left: 20px;
    padding-right: 50px;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: left;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 50px;
    padding-right: 20px;
}

/* 年份点样式优化 */
.timeline-dot {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    top: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* 年份数字样式 */
.timeline-date {
    font-size: 26px;
    font-weight: 800;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
}

/* 不同年份的颜色 */
.timeline-item:nth-child(4n+1) .timeline-date {
    color: #1c9994;
}

.timeline-item:nth-child(4n+2) .timeline-date {
    color: #2c3e50;
}

.timeline-item:nth-child(4n+3) .timeline-date {
    color: #e74c3c;
}

.timeline-item:nth-child(4n+4) .timeline-date {
    color: #f39c12;
}

.timeline-item:hover .timeline-date {
    transform: scale(1.1);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* 内容区域样式优化 */
.timeline-content {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-top: 70px;
    position: relative;
    z-index: 1;
    border-top: 5px solid;
    text-align: left;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.timeline-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
    text-align: left;
}

.timeline-content ul {
    padding-left: 20px;
    margin: 0;
}

.timeline-content li {
    margin-bottom: 15px;
    position: relative;
    line-height: 1.6;
    font-size: 15px;
    color: #444;
}

.timeline-content li::before {
    content: '★';
    position: absolute;
    left: -20px;
    color: #1c9994;
}

.timeline-content li:last-child {
    margin-bottom: 0;
}

/* 年份颜色方案 */
.timeline-item:nth-child(4n+1) .timeline-content {
    border-top-color: #1c9994;
}
.timeline-item:nth-child(4n+1) .timeline-dot {
    border: 6px solid #1c9994;
}

.timeline-item:nth-child(4n+2) .timeline-content {
    border-top-color: #2c3e50;
}
.timeline-item:nth-child(4n+2) .timeline-dot {
    border: 6px solid #2c3e50;
}

.timeline-item:nth-child(4n+3) .timeline-content {
    border-top-color: #e74c3c;
}
.timeline-item:nth-child(4n+3) .timeline-dot {
    border: 6px solid #e74c3c;
}

.timeline-item:nth-child(4n+4) .timeline-content {
    border-top-color: #f39c12;
}
.timeline-item:nth-child(4n+4) .timeline-dot {
    border: 6px solid #f39c12;
}

/* 修复时间轴指示线的颜色与年份点的颜色相匹配 */
.timeline-item:nth-child(4n+1)::before {
    background-color: #1c9994;
}

.timeline-item:nth-child(4n+2)::before {
    background-color: #2c3e50;
}

.timeline-item:nth-child(4n+3)::before {
    background-color: #e74c3c;
}

.timeline-item:nth-child(4n+4)::before {
    background-color: #f39c12;
}

/* 修改装饰线位置 */
.timeline-item:nth-child(odd)::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    top: 40px;
    right: 0;
    left: auto;
    z-index: 0;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(even)::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    top: 40px;
    left: 0;
    z-index: 0;
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    width: 60px;
    opacity: 0.9;
}

/* 动画效果 */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计调整 */
@media screen and (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline::after {
        left: 30px;
        margin-left: 0;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-item:hover .timeline-dot {
        transform: translateX(-50%) scale(1.15);
    }
    
    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before {
        display: none;
    }
    
    .timeline-content {
        margin-top: 30px;
    }
    
    /* 移动设备上增强视觉区分度 */
    .timeline-item:nth-child(4n+1) .timeline-content {
        border-left: 5px solid #1c9994;
        border-top-color: #1c9994;
    }
    
    .timeline-item:nth-child(4n+2) .timeline-content {
        border-left: 5px solid #2c3e50;
        border-top-color: #2c3e50;
    }
    
    .timeline-item:nth-child(4n+3) .timeline-content {
        border-left: 5px solid #e74c3c;
        border-top-color: #e74c3c;
    }
    
    .timeline-item:nth-child(4n+4) .timeline-content {
        border-left: 5px solid #f39c12;
        border-top-color: #f39c12;
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
        padding: 15px 0;
        letter-spacing: 1px;
    }
    
    .section-title::before {
        width: 100px;
        height: 3px;
    }
    
    .section-title::after {
        width: 24px;
        height: 24px;
        border-width: 3px;
        box-shadow: 0 0 0 6px rgba(28, 153, 148, 0.1);
    }
    
    .timeline-content {
        padding: 25px;
    }
    
    .timeline-content h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .timeline-date {
        font-size: 22px;
    }
    
    .timeline-dot {
        width: 60px;
        height: 60px;
        border-width: 5px;
    }
    
    .timeline-item {
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 480px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
        padding: 10px 0;
    }
    
    .section-title::before {
        width: 80px;
        height: 2px;
    }
    
    .section-title::after {
        width: 20px;
        height: 20px;
        border-width: 2px;
        box-shadow: 0 0 0 4px rgba(28, 153, 148, 0.1);
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-content li {
        font-size: 14px;
    }
    
    .timeline-dot {
        width: 50px;
        height: 50px;
        border-width: 4px;
    }
    
    .timeline-date {
        font-size: 18px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
    }
    
    .timeline-item:hover .timeline-dot {
        transform: translateX(-50%) scale(1.1);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline::after {
        left: 20px;
    }
} 

/* 通用标题样式 */
.common-section-title {
    margin: 0 0 25px;
    position: relative;
    display: flex;
    align-items: center;
}

.common-section-title h2 {
    font-size: 20px;
    color: #000;
    font-weight: 500;
    margin: 0;
    position: relative;
    letter-spacing: 0.5px;
}

/* 新闻标题样式 */
.news-section-title {
    margin: 0 0 30px;
    display: flex;
    align-items: center;
    position: relative;
}

.news-section-title h2 {
    font-size: 24px;
    color: #333;
    font-weight: 600;
    margin: 0;
    padding: 0 0 10px;
    position: relative;
    display: inline-block;
}

.news-section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #1c9994;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.news-section-title:hover h2::after {
    width: 100%;
}

.news-section-title .view-more {
    margin-left: auto;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.news-section-title .view-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.news-section-title .view-more:hover {
    color: #1c9994;
}

.news-section-title .view-more:hover i {
    transform: translateX(3px);
}

/* 专家标题样式 */
.expert-section-title {
    margin: 0 0 25px;
    position: relative;
    display: flex;
    align-items: center;
}

.expert-section-title h2 {
    font-size: 20px;
    color: #000;
    font-weight: 500;
    margin: 0;
    position: relative;
    letter-spacing: 0.5px;
}

/* 科室标题样式 */
.department-section-title {
    margin: 0 0 25px;
    position: relative;
    display: flex;
    align-items: center;
}

.department-section-title h2 {
    font-size: 20px;
    color: #000;
    font-weight: 500;
    margin: 0;
    position: relative;
    letter-spacing: 0.5px;
}

/* 时间轴标题样式 */
.timeline-section-title {
    margin: 0 0 25px;
    position: relative;
    display: flex;
    align-items: center;
}

.timeline-section-title h2 {
    font-size: 20px;
    color: #000;
    font-weight: 500;
    margin: 0;
    position: relative;
    letter-spacing: 0.5px;
}

/* 文章导航样式 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.article-navigation .nav-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    flex: 1;
    padding: 15px;
    border-radius: 8px;
}

.article-navigation .nav-item:hover {
    background: #f8f9fa;
    color: #1c9994;
}

.article-navigation .nav-item.prev {
    margin-right: 20px;
}

.article-navigation .nav-item.next {
    text-align: right;
    justify-content: flex-end;
}

.article-navigation .nav-content {
    display: flex;
    flex-direction: column;
}

.article-navigation .nav-label {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.article-navigation .nav-item i {
    font-size: 16px;
    margin: 0 10px;
}

/* 科室导航鼠标经过效果 */
.index-department-item {
    transition: all 0.3s ease;
}

.index-department-item:hover {
    background-color: #ff8c00;
    color: white;
}

/* 专家轮播样式 - 调整就医指南固定宽度 */
.expert-guide-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.expert-section {
    flex: 1;
}

.guide-section {
    width: 400px;
    flex: none;
}

.expert-header {
    margin-bottom: 20px;
}

.expert-title h2 {
    font-size: 28px;
    color: #333;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #1c9994;
    display: inline-block;
}

.expert-slider {
    position: relative;
    overflow: visible;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}

.expert-wrapper {
    position: relative;
    min-height: 380px;
}

.expert-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    background: #fff;
    display: flex;
    flex-direction: row;
    height: 380px;
    z-index: 1;
    align-items: center;
}

.expert-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
    display: flex;
}

.expert-avatar {
    width: 300px;
    height: 300px;
    overflow: hidden;
    position: relative;
    flex: none;
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.expert-card:hover .expert-avatar img {
    transform: scale(1.05);
}

.expert-info {
    padding: 25px;
    width: calc(100% - 300px);
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
    height: 100%;
}

.expert-name {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.expert-meta {
    margin-bottom: 15px;
    border-left: 3px solid #1c9994;
    padding-left: 10px;
}

.expert-meta p {
    color: #666;
    margin: 5px 0;
}

.expert-desc {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
    max-height: 160px;
    overflow: hidden;
    text-align: justify;
}

/* 修改查看详细按钮样式 */
.view-detail {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: auto;
    background-color: #1c9994;
    font-size: 16px;
    white-space: nowrap;
    text-align: center;
    width: 120px;
}

.view-detail:hover {
    background-color: #167b77;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(28, 153, 148, 0.2);
}

/* 导航控件样式 */
.expert-indicators {
    display: none;
}

.expert-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 18px;
}

.expert-btn:hover {
    background-color: rgba(28, 153, 148, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.expert-btn.prev {
    left: -20px;
}

.expert-btn.next {
    right: -20px;
}

/* 专家徽章样式 */
.expert-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #1c9994;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 5;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* 修改回就医指南的原有颜色 */
.guide-header h2 {
    font-size: 28px;
    color: #333;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #1c9994;
    display: inline-block;
}

.guide-header {
    margin-bottom: 20px;
}

/* 调整就医指南网格布局 */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-content: start;
    height: 380px;
    overflow: hidden;
}

.guide-item {
    padding: 27px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: auto;
}

.guide-item:hover {
    background-color: rgba(28, 153, 148, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(28, 153, 148, 0.1);
}

.guide-icon {
    font-size: 22px;
    margin-bottom: 8px;
    color: #1c9994;
}

.guide-text {
    font-size: 13px;
    margin-top: 0;
    color: #555;
    text-align: center;
}

.guide-title h2 {
    font-size: 28px;
    color: #333;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #1c9994;
    display: inline-block;
}

/* 整体专家指南区域样式 */
.expert-guide {
    padding: 50px 0;
    background-color: #fafafa;
}

.expert-guide-container {
    max-width: 1200px;
	justify-content: space-between;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* 左侧专家区域样式 */
.expert-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 右侧就医指南样式 */
.index-guide-section {
    flex: 1;
    max-width: 400px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    order: 2; /* 将就医指南移到最右侧 */
}

.index-guide-header {
    margin-bottom: 25px;
    position: relative;
}

.index-guide-header h2 {
    font-size: 24px;
    color: #333;
    margin: 0;
    padding-bottom: 12px;
    position: relative;
    display: inline-block;
}

.index-guide-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #1c9994;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.index-guide-header:hover h2::after {
    width: 100%;
}

/* 调整就医指南网格布局 */
.index-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    align-content: start;
}

.index-guide-item {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.index-guide-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 153, 148, 0.1) 0%, rgba(28, 153, 148, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.index-guide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(28, 153, 148, 0.15);
}

.index-guide-item:hover::before {
    opacity: 1;
}

.index-guide-icon {
    font-size: 24px;
    margin-bottom: 12px;
    color: #1c9994;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.index-guide-item:hover .index-guide-icon {
    transform: scale(1.1);
}

.index-guide-text {
    font-size: 14px;
    color: #555;
    text-align: center;
    position: relative;
    z-index: 1;
    font-weight: 500;
    transition: color 0.3s ease;
}

.index-guide-item:hover .index-guide-text {
    color: #1c9994;
}

/* 大图新闻样式 */
.news-card.large {
    
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    height: 300px;
}

.news-card.large .news-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.news-card.large .news-info {
    padding: 15px;
    background: #fff;
    height: 80px;
}

.news-card.large .news-info h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 小图新闻列表样式 */
.news-small-list {
    display: flex;
    gap: 20px;
    height: 180px;
}

.news-card.small {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card.small .news-image {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.news-card.small .news-info {
    padding: 12px;
    background: #fff;
    height: 80px;
}

.news-card.small .news-info h3 {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}




.doctor-section-title {
            font-size: 24px;
            color: #333;
            margin: 0 0 30px;
            padding-left: 20px;
            position: relative;
            font-weight: 600;
            letter-spacing: -0.5px;
            display: flex;
            align-items: center;
        }
        
        .doctor-section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 24px;
            background: linear-gradient(to bottom, #1c9994, #0d6e6a);
            border-radius: 2px;
            transition: all 0.3s ease;
        }
        
        .doctor-section-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -5px;
            width: 40px;
            height: 2px;
            background: #1c9994;
            border-radius: 1px;
            transition: all 0.3s ease;
        }
        
        .doctor-section-title:hover::before {
            height: 30px;
            background: linear-gradient(to bottom, #0d6e6a, #1c9994);
        }
        
        .doctor-section-title:hover::after {
            width: 100px;
        }
        
        .doctor-section-title h2 {
            margin: 0;
            font-size: inherit;
            color: inherit;
            font-weight: inherit;
            position: relative;
            padding-bottom: 5px;
        }
		
		
		
		
		
		/*分页样式*/
		.news-page-pagination li{
			list-style-type:none;
		}
		
		.news-page-pagination li a{
			display:block;
			background:#1c9994;
			padding:10px 15px;
			text-decoration:none;
			color:#fff;
		}
		
		.news-page-pagination li.thisclass{
			border:Solid  1px #1c9994;
			display:block;
			padding:10px 15px;
			background:#007470;
			color:#fff;
			font-weight:700;
		}
		
		
		
		
		
		
		/* ===== 专家导航 ===== */
.specialists-tabs {
    padding: 40px 0;
    background: #fff;
}

.specialists-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 专家导航样式 */
.specialists-nav {
    margin-bottom: 40px;
    background: transparent;
    padding: 0;
}

.specialists-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    background: #f5f5f5;
    padding: 2px;
    border-radius: 4px;
}

.specialists-nav-item {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    text-align: center;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    background: #f5f5f5;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.specialists-nav-item:first-child {
    border-radius: 4px 0 0 4px;
}

.specialists-nav-item:last-child {
    border-radius: 0 4px 4px 0;
}

.specialists-nav-item.active {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.specialists-nav-item:hover:not(.active) {
    background: #e0e0e0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .specialists-nav-item {
        flex: 1 1 calc(20% - 2px);
        font-size: 13px;
        padding: 10px 14px;
    }
}

@media (max-width: 992px) {
    .specialists-nav-item {
        flex: 1 1 calc(25% - 2px);
    }
}

@media (max-width: 768px) {
    .specialists-nav-item {
        flex: 1 1 calc(33.333% - 2px);
        font-size: 12px;
        padding: 8px 12px;
    }
}

@media (max-width: 576px) {
    .specialists-nav-item {
        flex: 1 1 calc(50% - 2px);
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* ===== 专家列表 ===== */
.specialists-list {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.specialists-list.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 专家卡片样式 */
.specialist-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 4px rgba(0, 0, 0, 0.03),
        0 0 0 1px rgba(28, 153, 148, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
}

.specialist-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(28, 153, 148, 0.1),
        0 0 0 1px rgba(28, 153, 148, 0.1);
}

.specialist-photo {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.specialist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.specialist-card:hover .specialist-photo img {
    transform: scale(1.05);
}

.specialist-info {
    padding: 24px;
    text-align: center;
    background: #fff;
}

.specialist-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.specialist-title {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.specialist-department {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .specialists-nav-item {
        flex: 1 1 calc(20% - 8px);
        font-size: 13px;
        padding: 10px 14px;
    }
}

@media (max-width: 992px) {
    .specialists-nav-item {
        flex: 1 1 calc(25% - 8px);
    }
}

@media (max-width: 768px) {
    .specialists-nav {
        gap: 6px;
    }
    
    .specialists-nav-item {
        flex: 1 1 calc(33.333% - 6px);
        font-size: 12px;
        padding: 8px 12px;
        border-radius: 6px;
    }
    
    .specialist-photo {
        height: 280px;
    }
    
    .specialist-info {
        padding: 20px;
    }
    
    .specialist-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .specialists-nav {
        gap: 4px;
    }
    
    .specialists-nav-item {
        flex: 1 1 calc(50% - 4px);
        font-size: 11px;
        padding: 6px 10px;
        border-radius: 4px;
    }
    
    .specialist-photo {
        height: 240px;
    }
} 




/* 就医指南样式 */
.medical-guide-section {
    
    background-color: #f8f9fa;
}

.medical-guide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.medical-guide-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.medical-guide-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1e88e5, #64b5f6);
}

.medical-guide-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.medical-guide-image:hover {
    transform: translateY(-5px);
}

.medical-guide-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.medical-guide-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.medical-guide-item {
    flex: 1;
    min-width: 250px;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.medical-guide-item:hover {
    transform: translateY(-5px);
}

.medical-guide-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.medical-guide-icon i {
    font-size: 32px;
    color: #007bff;
}

.medical-guide-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #007bff;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.medical-guide-btn:hover {
    background-color: #0056b3;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .medical-guide-content {
        flex-direction: column;
    }
    
    .medical-guide-title {
        font-size: 28px;
    }
    
    .medical-guide-item {
        padding: 20px;
    }
    
    .medical-guide-image {
        max-width: 90%;
    }
}





 
/* 内科介绍板块样式 */
.department-intro {
    
    background: #fff;
}

.department-intro .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.intro-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(28, 153, 148, 0.1);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.intro-image img:hover {
    transform: scale(1.05);
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.intro-text h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #1c9994;
}

.intro-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
    }
    
    .intro-text h2 {
        font-size: 28px;
    }
}

/* 专家团队板块样式 */
.experts-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.experts-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.experts-section .section-header h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
}

.experts-slider {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.experts-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.expert-card {
    flex: 0 0 25%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.expert-avatar {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.expert-card:hover .expert-avatar img {
    transform: scale(1.05);
}

.expert-info {
    text-align: center;
}

.expert-name {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.expert-meta {
    margin-bottom: 15px;
}

.expert-meta p {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.expert-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    height: 60px;
    overflow: hidden;
}

.view-detail {
    display: inline-block;
    padding: 8px 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.view-detail:hover {
    background-color: #0056b3;
}

.expert-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.expert-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.expert-btn.prev {
    left: 0;
}

.expert-btn.next {
    right: 0;
}

/* 响应式布局 */
@media (max-width: 992px) {
    .expert-card {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 768px) {
    .expert-card {
        flex: 0 0 50%;
    }
}

@media (max-width: 576px) {
    .expert-card {
        flex: 0 0 100%;
    }
    
    .expert-avatar {
        height: 250px;
    }
}

/* 专家团队板块样式 */
.team-section {
    padding: 40px 0;
    background: #fff;
}

.team-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.team-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.team-section .section-header h2 {
    font-size: 32px;
    color: #1c9994;
    margin-bottom: 15px;
}

.team-slider {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.team-card {
    flex: 0 0 25%;
    padding: 0 15px;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.team-avatar {
    width: 100%;
    padding-bottom: 100%; /* 1:1 比例 */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.team-avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-avatar img {
    transform: scale(1.05);
}

.team-info {
    text-align: center;
}

.team-name {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.team-meta {
    margin-bottom: 15px;
}

.team-meta p {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.team-detail {
    display: inline-block;
    padding: 8px 20px;
    background-color: #1c9994;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.team-detail:hover {
    background-color: #167a76;
}

.team-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(28, 153, 148, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.team-btn:hover {
    background-color: rgba(28, 153, 148, 0.7);
}

.team-btn.prev {
    left: 0;
}

.team-btn.next {
    right: 0;
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .team-section .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .team-slider {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .team-card {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 768px) {
    .team-card {
        flex: 0 0 50%;
    }
}

@media (max-width: 576px) {
    .team-card {
        flex: 0 0 100%;
    }
    
    .team-avatar {
        padding-bottom: 100%;
    }
}






/* 内科资讯板块样式 */
.ks-news-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.ks-news-section .ks-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.ks-news-section .ks-section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.ks-news-section .ks-section-header h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 1px;
}

.ks-news-section .ks-section-header h2::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #1c9994;
    transition: width 0.3s ease;
}

.ks-news-section .ks-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: #1c9994;
    transition: width 0.3s ease;
}

.ks-news-section .ks-section-header:hover h2::before {
    width: 60px;
}

.ks-news-section .ks-section-header:hover h2::after {
    width: 40px;
}

.ks-news-section .ks-section-header p {
    font-size: 16px;
    color: #666;
    margin-top: 20px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}



.ks-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.ks-news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.ks-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.ks-news-image {
    height: 200px;
    overflow: hidden;
}

.ks-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ks-news-card:hover .ks-news-image img {
    transform: scale(1.05);
}

.ks-news-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ks-news-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.ks-news-card:hover .ks-news-content h3 {
    color: #1c9994;
}

.ks-news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}

.ks-news-content .ks-read-more {
    display: inline-block;
    color: #1c9994;
    font-size: 14px;
    position: relative;
    padding-right: 20px;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.ks-news-content .ks-read-more:after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.3s ease;
}

.ks-news-card:hover .ks-read-more:after {
    right: -5px;
}









/* ===== 首页专家介绍 ===== */
.index-expert-section {
    flex: 1;
    max-width: 800px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.index-expert-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.index-expert-title {
    display: flex;
    align-items: center;
}

.index-expert-title h2 {
    font-size: 24px;
    margin: 0;
    font-weight: 500;
    position: relative;
    padding-left: 15px;
}

.index-expert-title h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 专家轮播容器 */
.index-expert-slider {
    position: relative;
    flex: 1;
    overflow: hidden;
    height: 400px;
}

/* 专家卡片基础样式 */
.index-expert-card {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    transform: translateX(100%);
}

/* 活动卡片样式 */
.index-expert-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateX(0);
}

/* 专家卡片 */
.index-expert-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.index-expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.index-expert-avatar {
    width: 300px;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.index-expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

.index-expert-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0 8px 8px 0;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 专家姓名 */
.index-expert-name {
    font-size: 22px;
    font-weight: 500;
    color: #1c9994;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    text-align: left;
}

.index-expert-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #1c9994;
    border-radius: 1px;
    opacity: 0.8;
}

/* 专家元信息 */
.index-expert-meta {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    text-align: left;
}

.index-expert-meta p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #666;
    margin: 0;
    padding: 4px 0;
    letter-spacing: 0.5px;
    text-align: left;
}

/* 专家介绍 */
.index-expert-intro {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    max-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-align: left;
}

/* 轮播按钮 */
.index-expert-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.index-expert-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.index-expert-btn.prev {
    left: 10px;
}

.index-expert-btn.next {
    right: 10px;
}

/* 轮播指示器 */
.index-expert-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.index-expert-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.index-expert-indicators .indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* 轮播动画 */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .index-expert-card {
        flex-direction: column;
    }
    
    .index-expert-avatar {
        width: 100%;
        height: 300px;
    }
    
    .index-expert-info {
        border-radius: 0 0 8px 8px;
    }
}

@media (max-width: 768px) {
    .index-expert-avatar {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .index-expert-avatar {
        height: 200px;
    }
}

/* 查看详情按钮 */
.index-expert-detail-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: #1c9994;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.index-expert-detail-btn p {
    color: #fff;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.index-expert-detail-btn:hover {
    background: #16857f;
    transform: translateY(-2px);
}



/*科室页专家团队板块*/
.wf-team-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.wf-team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.wf-team-header {
    text-align: center;
    margin-bottom: 40px;
}

.wf-team-header h2 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.wf-team-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.wf-team-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.wf-team-slider {
    position: relative;
    overflow: hidden;
}

.wf-team-wrapper {
    display: flex;
    gap: 30px;
    transition: transform 0.3s ease;
}

.wf-team-card {
    flex: 0 0 calc(25% - 22.5px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.wf-team-avatar {
    width: 150px;
    height: 150px;
    margin: 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.wf-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wf-team-name {
    font-size: 20px;
    color: var(--text-primary);
    text-align: center;
    margin: 15px 0 10px;
}

.wf-team-meta p {
    text-align: center;
    color: var(--text-secondary);
    margin: 5px 0;
    font-size: 14px;
}

.wf-team-detail {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease;
}

.wf-team-detail:hover {
    background: var(--primary-dark);
}

.wf-team-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 2;
}

.wf-team-btn:hover {
    background: var(--primary-dark);
}

.wf-team-btn.prev { left: 0; }
.wf-team-btn.next { right: 0; }

@media (max-width: 992px) {
    .wf-team-card { flex: 0 0 50%; }
    .wf-team-wrapper { gap: 20px; }
}

@media (max-width: 600px) {
    .wf-team-card { flex: 0 0 100%; }
    .wf-team-wrapper { gap: 12px; }
    .wf-team-avatar { width: 120px; height: 120px; }
}



/* 科室分类板块科室分类板块 */

 

        /* 科室分类容器 */
        .keshi_fenlei-container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }
        .keshi_fenlei-title {
            text-align: center;
            margin-bottom: 40px;
        }
        .keshi_fenlei-title h2 {
            font-size: 32px;
            color: #333;
            margin-bottom: 10px;
        }
        .keshi_fenlei-title p {
            color: #666;
            font-size: 16px;
        }
        .keshi_fenlei-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
        }
        .keshi_fenlei-card {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
            padding: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        .keshi_fenlei-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        }
        .keshi_fenlei-card h3 {
            color: #2c3e50;
            font-size: 20px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        .keshi_fenlei-card h3 i {
            margin-right: 10px;
            color: #1c9994;
            font-size: 24px;
        }
        .keshi_fenlei-card p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 15px;
            min-height: 80px;
        }
        .keshi_fenlei-card .btn {
            display: inline-block;
            padding: 8px 20px;
            background: #1c9994;
            color: #fff;
            text-decoration: none;
            border-radius: 5px;
            transition: background 0.3s ease;
        }
        .keshi_fenlei-card .btn:hover {
            background: #167a76;
        }